
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

package com.hlkj.pay.app.merchant.ext;

import com.hlkj.framework.extension.ExtensionPointI;
import com.hlkj.pay.app.merchant.ext.dto.profit.ChannelProfitAccountBindContext;
import com.hlkj.pay.app.merchant.ext.dto.profit.ChannelProfitAccountContext;

/**
 * 通道商户分润
 * 
 * @author HlpayTeam
 * @date 2024/09/12 11:39
 */
public interface ChannelMerchantProfitAccountExtPt extends ExtensionPointI {

    /**
     * 提交分账
     *
     * @param channelProfitAccountContext
     * @return
     */
    void submitProfitAccount(ChannelProfitAccountContext channelProfitAccountContext);

    /**
     *
     * @param channelProfitAccountContext
     */
    void updateProfitAccount(ChannelProfitAccountContext channelProfitAccountContext);
    /**
     * 分账查询
     *
     * @param channelProfitAccountBindContext
     * @return
     */
    void bindProfitAccount(ChannelProfitAccountBindContext channelProfitAccountBindContext);

    /**
     * 提交分账
     *
     * @param channelProfitAccountBindContext
     * @return
     */
    void unBindProfitAccount(ChannelProfitAccountBindContext channelProfitAccountBindContext);

    /**
     *
     * @param channelProfitAccountContext
     */
    void queryAccountBindList(ChannelProfitAccountBindContext channelProfitAccountContext);
}
